#include "Gun.h"
#include <iostream>

using namespace std;

Gun::Gun(){
    this->_info.name = "unknown";
    this->_info.capacity = 0;
}

Gun::Gun(info_gun info){
    this->_info = info;
}

int Gun::num_capacity(){
    return this->_info.capacity;
}

void Gun::show_info(){
    cout << this->_info.name << "," << endl;
    cout << "A "<< this->_info.capacity << "-round magazine capacity" << endl;
}

void Gun::biubiubiu(){
    cout << "biubiubiu~~~" << endl;
}